package com.bjboot.caocao.system.dao;

import com.bjboot.caocao.system.domain.FileDO;

import java.util.List;
import java.util.Map;

public interface FileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FileDO record);

    int insertSelective(FileDO record);

    FileDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FileDO record);

    int updateByPrimaryKey(FileDO record);

    // 自定义方法
    List<FileDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int batchRemove(Long[] ids);

}